--[[

Luci statistics - wireless plugin diagram definition
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

$Id: wireless.lua 2274 2008-06-03 23:15:16Z jow $

]]--

module("luci.statistics.rrdtool.definitions.ted", package.seeall)

function rrdargs( graph, host, plugin, plugin_instance )


	--
	-- 
	--
	local kwhrtdysum = {

		-- draw this diagram for each data instance
		per_instance = true,

		-- diagram data description
		data = {
			types = { "kwhrtdysum" },

			-- special options for single data lines
			options = {
				kwhrtdysum = {
					noarea = true,		-- don't draw area
					color  = "0000ff"	-- quality is blue
				}
			}
		}
	}

	local kwnowdsp = {

		-- draw this diagram for each data instance
		per_instance = true,

		-- diagram data description
		data = {
			types = { "kwnowdsp" },

			-- special options for single data lines
			options = {
				kwnowdsp = {
					noarea = true,		-- don't draw area
					color  = "0000ff"	-- quality is blue
				}
			}
		}
	}


	return { kwhrtdysum, kwnowdsp }
end
